package one;

import java.math.BigDecimal;
import java.text.NumberFormat;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextInt()) {
            int a = in.nextInt();
            int b = in.nextInt();

            double temp = ((double) a / (double) b);

            String ss = String.format("%.1f", temp);

            //利用BigDecimal来实现四舍五入.保留一位小数
            double f1 = new BigDecimal(temp).setScale(1, BigDecimal.ROUND_HALF_UP).doubleValue();

            System.out.println(a + "/" + ss + "=" + b);

        }
    }
}
